package com.lyn.pluginbazaar.entity;

import com.alibaba.fastjson.JSON;

import java.util.Map;

public class PagingQuery {

    private int page;

    private int size=10;

    private long startTime;

    private long endTime;

    private Map<String, Object> parameter;

    private Map<String, Object> likeParameter;



    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public Map<String, Object> getParameter() {
        return parameter;
    }

    public void setParameter(Map<String, Object> parameter) {
        this.parameter = parameter;
    }

    public Map<String, Object> getLikeParameter() {
        return likeParameter;
    }

    public void setLikeParameter(Map<String, Object> likeParameter) {
        this.likeParameter = likeParameter;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
